

<div class="span4 login_block">
    <form class="form" action="<?php echo $this->here ?>" method="post">

        <?php
        $msg = $this->Session->flash();
        if ($msg) {
            ?>
            <div class="alert-danger" style="padding: 10px; border-radius: 3px;"><?php echo $msg; ?></div>
            <?php
        }
        ?>

        <div class="row-fluid login_img">
            <?php echo $this->Html->image('core/memberz-mini.png'); ?>
        </div>

        <div class="row-fluid login_div">
            <div class="input_row">
                <input type="text" name="username" placeholder="Username" class="login_input input-xlarge" />
            </div>

            <div class="input_row">
                <input type="password" name="password" placeholder="Password" class="login_input input-xlarge" />
            </div>

            <div class="input_row" style="text-align: right;">
                <input type="submit" class="btn btn-s-md btn-success" value="Login" />
                <a href="<?php echo $this->Html->url(array('controller' => 'organisation', 'action' => 'forgot_password')); ?>" class="btn btn-inverse" id="forgot_password_btn">Forgot Password</a>
            </div>
        </div>
    </form>
</div>

<div id="forgot_password_block" style="display: none;">
    <form action="<?php echo $this->Html->url(array('controller' => 'organisation', 'action' => 'forgot_password')); ?>" method="post">
        <p>Enter your email below and email you a password reset link</p>

        <div class="row-fluid">
            <input type="email" class="input-xlarge" required="" placeholder="Enter Email Address" name="forgot_password_email" id="forgot_password_email" />
        </div>
    </form>
</div>

<?php echo $this->Html->script("app/views/support/login.js"); ?>